package com.haierp.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.ShippingOrder;
import com.haierp.vo.ShippingOrderQueryVO;

public interface ShippingOrderMapper extends AutoMapper<ShippingOrder>  {
	Integer queryShippingOrdersCount(ShippingOrderQueryVO shippingOrderVO);
	
	List<ShippingOrder> queryShippingOrders(ShippingOrderQueryVO shippingOrderVO);
	
	void updateStatusByShippingNo(String shippingNo);
	
	List<ShippingOrder> queryByShippingOrderPackageTime(ShippingOrderQueryVO shippingOrderQueryVO);
	
	void updateIsPayByShippingOrders(@Param(value = "shippingOrderList")List<ShippingOrder> shippingOrderList);
		
	void updatePackage(String shippingNo, String packageCreate);
	
	void updatePackageStatusByid(ShippingOrderQueryVO shippingOrderQueryVO);
	
}
